/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ClasesGenerales;

import java.util.List;

/**
 *
 * @author USER
 */
public class PNR {

    private String Codigo = null;
    private List<Passenger> objPasseger = null;
    private List<Itinerario> objItinerario = null;
    private String Error = null;

    public PNR() {
    }

    public PNR(String Codigo,
            List<Passenger> objPasseger,
            List<Itinerario> objItinerario) {

        this.Codigo = Codigo;
        this.objPasseger = objPasseger;
        this.objItinerario = objItinerario;
    }

    /**
     * @return the Codigo
     */
    public String getCodigo() {
        return Codigo;
    }

    /**
     * @param Codigo the Codigo to set
     */
    public void setCodigo(String Codigo) {
        this.Codigo = Codigo;
    }

    /**
     * @return the objPasseger
     */
    public List<Passenger> getObjPasseger() {
        return objPasseger;
    }

    /**
     * @param objPasseger the objPasseger to set
     */
    public void setObjPasseger(List<Passenger> objPasseger) {
        this.objPasseger = objPasseger;
    }

    /**
     * @return the objItinerario
     */
    public List<Itinerario> getObjItinerario() {
        return objItinerario;
    }

    /**
     * @param objItinerario the objItinerario to set
     */
    public void setObjItinerario(List<Itinerario> objItinerario) {
        this.objItinerario = objItinerario;
    }

    /**
     * @return the Error
     */
    public String getError() {
        return Error;
    }

    /**
     * @param Error the Error to set
     */
    public void setError(String Error) {
        this.Error = Error;
    }
}
